from ..format_utils import format_str_list_to_a_string
from typing import List


class BaseOutputFormatter:
    def __init__(self, sep: str):
        self.sep = sep

    @classmethod
    def concat_list_of_str(self, str_list: List[str]):
        return format_str_list_to_a_string(str_list, self.sep)
